package com.pzhu.model.dto;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import org.springframework.format.annotation.DateTimeFormat;

import java.util.Date;

/**
 * @Author : zqh
 * @Date : 2023/12/23 0023 下午 2:23
 * @Version: 1.0
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
public class OrderParamDto  {
    private Long staffId;

    @DateTimeFormat(
            pattern = "yyyy-MM-dd"
    )
    private Date startTime;

    @DateTimeFormat(
            pattern = "yyyy-MM-dd"
    )
    private Date endTime;

    private String address;

    private Integer today;

    private Integer tomorrow;
}
